<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">  
	<script type="text/javascript" src="${pageContext.request.contextPath }/js/Birthday-Calendar.js" ></script>  
  </head>
  <body>
  	<form action="${pageContext.request.contextPath }/servlet/ControllerServlet?op=register" method="post">
  		<table border="1" align="center">
  			<tr>
  				<td>用户名：</td>
  				<td><input type="text" name="username" value="${userFormBean.username }">${userFormBean.errorMsg.username }</td>
  			</tr>
  			<tr>
  				<td>密&nbsp;&nbsp;&nbsp;码：</td>
  				<td><input type="password" name="password" value="${userFormBean.password }">${userFormBean.errorMsg.password }</td>
  			</tr>
  			<tr>
  				<td>确认密码：</td>
  				<td><input type="password" name="repassword" value="${userFormBean.repassword }">${userFormBean.errorMsg.repassword }</td>
  			</tr>
  			<tr>
  				<td>出生年月：</td>
  				<td><input type="text" name="birthday" value="${userFormBean.birthday }" onclick="new Calendar().show(this);" readonly="readonly">${userFormBean.errorMsg.birthday }</td>
  			</tr>
  			<tr>
  				<td>邮&nbsp;&nbsp;&nbsp;箱：</td>
  				<td><input type="text" name="email" value="${userFormBean.email }">${userFormBean.errorMsg.email }</td>
  			</tr>
  			<tr>
  				<td colspan="2" align="center">
  					<input type="submit" value="提交" />
  					&nbsp;&nbsp;&nbsp;
  					<input type="reset" value="重置" />
  				</td>
  			</tr>
  		</table>
  	</form>
  </body>
</html>
